#!/bin/bash

# 想要重启的target
target=$1
if [ -z $target ]; then
    echo "usage: sh start.sh target"
    exit 1
fi

sh stop.sh $target

sleep 2

sh start.sh $target